Elementor\Modules\Ai\Connect\Ai A

Total Complexity 68
Dependencies 5
Dependents 1
Total lines 844
Lines of code 644
Logical lines of code 176
Comment lines 85
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
generate_layout()
A
39 9 67
get_upload_request_body()
S
52 5 23
resizeImageIfNeeded()
S
51 4 26
get_image_to_image_mask()
S
48 3 35
get_image_to_image_mask_cleanup()
S
48 3 35
ai_request()
S
52 3 26
get_unify_product_images()
S
52 3 25
get_image_to_image_out_painting()
S
49 2 31
get_image_to_image()
S
53 2 23
get_image_to_image_replace_background()
S
55 2 20
get_image_to_image_upscale()
S
55 2 20
get_image_to_image_remove_background()
S
56 2 19
get_history_by_type()
S
57 2 17
get_file_payload()
S
59 2 13
get_custom_css()
S
57 1 18
get_featured_image()
S
56 1 18
get_text_to_image()
S
56 1 18
get_excerpt()
S
57 1 18
get_custom_code()
S
58 1 17
get_edit_text()
S
58 1 17
get_completion_text()
S
59 1 16
get_layout_prompt_enhanced()
S
59 1 16
get_remote_frontend_config()
S
59 1 16
get_cached_usage()
S
64 2 10
store_temp_file()
S
64 2 10
get_image_prompt_enhanced()
S
61 1 13
delete_history_item()
S
64 1 10
toggle_favorite_history_item()
S
64 1 10
get_title()
S
79 1 3
get_api_url()
S
80 1 3
set_used_gallery_image()
S
65 1 10
set_status_feedback()
S
65 1 10
set_get_started()
S
65 1 10
get_remote_config()
S
65 1 10
get_usage()
S
65 1 10
init()
S
98 1 1